<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
         <meta name="format-detection" content="telephone=no" />
    <title>男装专区</title>
    <link rel="stylesheet" type="text/css" href="<%=path %>/statics/css/loaders.min.css"/>
    <link rel="stylesheet" type="text/css" href="<%=path %>/statics/css/loading.css"/>
    <link rel="stylesheet" type="text/css" href="<%=path %>/statics/css/base.css"/>
    <link rel="stylesheet" type="text/css" href="<%=path %>/statics/css/style.css"/>
     <script src="<%=path %>/statics/js/jquery.min.js" type="text/javascript" charset="utf-8"></script>
    <script type="text/javascript">
    	$(window).load(function(){
    		$(".loading").addClass("loader-chanage")
    		$(".loading").fadeOut(300)
    	})
    </script>
</head>
<!--loading页开始-->
<div class="loading">
	<div class="loader">
        <div class="loader-inner pacman">
          <div></div>
          <div></div>
          <div></div>
          <div></div>
          <div></div>
        </div>
	</div>
</div>
<!--loading页结束-->
<body>
	<header class="top-header fixed-header">
		<a class="icona" href="javascript:history.go(-1)">
				<img src="<%=path %>/statics/images/left.png"/>
			</a>
		<h3>地址管理</h3>
			
			<a class="text-top" href="<%=path %>/user/sys/do-address.html?opr=add">
				添加
			</a>
	</header>
	
	<div class="contaniner fixed-conta">
	<c:forEach items="${addresslist }" var="address">
		<dl class="address">
			<a href="<%=path %>/user/sys/go-address/view/${address.id }">
				<dt>
					<p>${address.remark }</p>
					<span>${address.iPhone }</span>
						<c:if test="${address.isDefault == 1 }"><small>默认 </small></c:if>
					
				</dt>
				<dd>${address.address }</dd>
			</a>
		</dl>
	
	</c:forEach>
	</div>
	
	
	
	

</body>
</html>